<body style="background-color:#f2f9fd;">
<div class="header bg-main">
  <div class="logo margin-big-left fadein-top">
    <h1><img src="" class="radius-circle rotate-hover" height="50" alt="" /> 后台管理中心</h1>
  </div>
  <div class="head-l"><a class="button button-little bg-green" href="index.php" target="_blank"><span class="icon-home"></span> 前台首页</a> &nbsp;&nbsp; <a class="button button-little bg-red" href="{:U('LoginOut/index')}"><span class="icon-power-off"></span> 退出登录</a> </div>
</div>
<div class="leftnav">
  <div class="leftnav-title"><strong><span class="icon-list"></span> 菜单列表</strong></div>
  {foreach name="menu" item="val"  }
  <h2> {$val.name}</h2>
   <ul>

      {foreach name="val['list']"  item="v"}
     <li><a href="{$v.url}" target="right"><span class="icon-caret-right"></span>{$v.name}</a></li>
      {/foreach}
    </ul>
  {/foreach}

 
</div>
<script type="text/javascript">
$(function(){
  $(".leftnav h2").click(function(){
	  $(this).next().slideToggle(200);	
	  $(this).toggleClass("on"); 
  })
  $(".leftnav ul li a").click(function(){
	    $("#a_leader_txt").text($(this).text());
  		$(".leftnav ul li a").removeClass("on");
		$(this).addClass("on");
  })
});
</script>
<ul class="bread">
  <li><a href=" " target="right" class="icon-home">  道德的</a></li>
  <li><a href="javascript:void(0)" id="a_leader_txt">道德的</a></li>
 
</ul>